package com.edgar.notification;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.TextView;

import com.edgar.main.R;

public class SpecialActivity extends Activity {

	private TextView tv;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.notification_special);
		tv = (TextView)this.findViewById(R.id.special_tv);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.special, menu);
		return true;
	}
	
	public void onStart(){
		String s = this.getIntent().getStringExtra("text");
		System.out.println("get:"+s);
		tv.setText(s);
		super.onStart();
	}


}
